package view.impl.menu;

import org.newdawn.slick.Graphics;

import view.impl.menu.items.IMenuItem;

/**
 * @author Julian
 *
 */
public class SingleLayeredMenu {
	private MenuLayer layer = new MenuLayer();
	
	public boolean addMenuItem(IMenuItem item, int id) {
		return layer.addMenuItem(item, id);
	}
	
	public void draw(int selectedId, Graphics g, int windowWidth, int windowHeight) {
		layer.draw(selectedId, g, windowWidth, windowHeight);
	}
}
